package com.school.information.utils;

import org.apache.commons.lang3.math.NumberUtils;

public class NumberUtil extends NumberUtils {
    public static boolean isNullOrLessEqual0(Long id) {
        return id == null || id <= 0L;
    }

    public static boolean isNullOrLess0(Integer num) {
        return num == null || num < 0;
    }

    public static boolean isNullOrLess0(Long num) {
        return num == null || num < 0L;
    }
}
